<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp"%>
<c:set value="${requestScope.response.data.list }" var="list"/>
<jsp:useBean class="com.icss.users.vo.ReUsers" id="pojo"/>
<!DOCTYPE html>
<html lang="en">
	<head>
		<title>添加评论 - 西餐厅管理系统</title>
		<%@ include file="/common/include/head_title.jsp"%>
	</head>
	<body>
		<jsp:include page="/header.htm"></jsp:include>
		<section class="blog-section spad">
	        <div class="container">
				<form id="form" method="post" class="form-horizontal" action="${rootPath }/head/goods/evalInsertSubmit.htm" method="post">
					<input type="hidden" name="goodsId" value="${param.goodsId }">
					<div class="col-md-10 offset-2">
						<h2
							class="col-sm-10 col-sm-offset-1 form-signin-heading text-center">添加评论</h2>
						<div class="form-group">
							<label for="email" class="col-sm-3 control-label">商品:</label>
							<a href="${rootPath }/goodsInfo.htm?id=${param.goodsId}" target="_blank">
								查看商品
							</a>
						</div>
						<div class="form-group">
							<label for="inputPassword" class="col-sm-3 control-label">名称:</label>
							<div class="col-sm-8">
								<input type="text" id="name" placeholder="名称" name="name" value="${one.name}" class="form-control">
							</div>
						</div>
						<div class="form-group">
							<label for="inputPassword" class="col-sm-3 control-label">评分:</label>
							<div class="col-sm-8">
								<c:forEach begin="1" end="5" step="1" var="temp">
									<input type="radio" name="score" value="${temp }" ${temp == 1 ? 'checked':''}>&nbsp;${temp }
								</c:forEach>
							</div>
						</div>
						<div class="form-group">
							<label for="inputPassword" class="col-sm-3 control-label">内容:</label>
							<div class="col-sm-8">
								<textarea rows="5" cols="80" name="content" id="content">${one.content}</textarea>
							</div>
						</div>
						<input type="submit" value="提交订单" class="btn btn-md btn-primary pull-right">
					</div>
				</form>
			</div>
	    </section>
		<%@ include file="/common/include/head_footer.jsp"%>
	</body>
</html>